class Key {




    public static k1(str:string):string{
        var a = str.split(' ');
        var s = '';
        for(var i = 0 ; i < a.length ; i+=2){
            s += a[i];
        }
        return s;
    }


    public static k2(str:string):string{
        var a = str.split(' ');
        var s = '';
        for(var i = 1 ; i < a.length ; i+=2){
            s += a[i];
        }
        return s;
    }
}